package com.lqjava.flowable.serverapp.sys.config.websocket;

import com.lqjava.flowable.beans.enums.WebSocketJSMethods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * webSocketMsg请求对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WebSocketMSGContent {
	
	public WebSocketMSGContent(WebSocketJSMethods method, Long accountid, Object params) {
		super();
		this.accountid = accountid;
		this.jsMethod = method.getMethod();
		this.params = params;
	}
	
	private String msgid;//消息id
	private String jsMethod;//执行js方法
	private Long accountid;
	private Object params;//执行参数
}
